#! /usr/bin/sh
cd /home/tpbbops/e-manager-service
ps -ef|grep tpbb-e-manager-service.jar|grep -v grep|awk '{ print $2 }'|xargs -r kill -9
echo > nohup.out
nohup java -Dspring.profiles.active=prod -Dproject.name=tpbb.e-manager-service -Dahas.gateway.address=10.21.13.7:9527,10.21.13.8:9527 -Dcsp.sentinel.heartbeat.interval.ms=5000 -DDIAMOND.SERVER.IPS=10.21.12.15,10.21.12.16 -jar tpbb-e-manager-service.jar 2>&1 >nohup.out &